package com.family.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("com.family")
@PropertySource({"jdbc.properties"})//@PropertySource加载properties配置文件
//@PropertySource({"jdbc.properties1","jdbc.properties2","jdbc.properties3"})//不支持正则匹配的*号
public class SpringConfig {
}
